<div id="page-wrapper">
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header"><?= $data['title'] ?></h1>
        </div>
        <!-- /.col-lg-12 -->
    </div>
    
    <ol class="breadcrumb">
        <li><a href="<?= BASE_DIR ?>">Home</a></li>
        <li><a href="<?= BASE_DIR ?>?url=configMain">Gestión</a></li>
        <li><a href="<?= BASE_DIR ?>?url=configSchemes">Esquemas</a></li>
        <li><a href="<?= BASE_DIR ?>?url=configAreas&id=<?= $_GET['idScheme'] ?>">&Aacute;reas</a></li>
        <li class="active">&Aacute;rea</li>
    </ol>
    
    <div id="waitingModal"></div>
    <input type="hidden" id="idScheme" value="<?= $_GET['idScheme'] ?>">
    <input type="hidden" id="idArea" value="<?= $_GET['id'] ?>">
    
    <!-- /.row -->
    <div class="row">
        <div class="col-lg-12">
            <ul class="nav nav-tabs">
                <li class="active"><a href="#areaAttributes" data-toggle="tab">Atributos</a>
                </li>
                <li class=""><a href="#areaConfigurations" data-toggle="tab">Configuraciones</a>
                </li>
            </ul>
            
            <div class="tab-content">
                <div class="tab-pane fade active in" id="areaAttributes">
                     <div class="panel panel-default">
                        <div class="panel-body">
                            <div class="table-responsive">
                                <table class="table table-striped table-bordered table-hover" id="dataTables-attributes">
                                    <thead>
                                        <tr>
                                            <th></th>
                                            <th>Nombre</th>
                                            <th>Orden</th>
                                        </tr>
                                    </thead>
                                    <tbody></body>
                                </table>
                            </div>
                        </div>
                     </div>
                </div>
                <div class="tab-pane fade" id="areaConfigurations">
                    <div class="panel panel-default">
                        <div class="panel-body">
                            <button type="button" class="btn btn-link" data-target="#configurationModalDlg" onClick="GApp.AreaConfiguration.newConfiguration ('<?= BASE_DIR ?>')">
                                Crear
                            </button>
                            
                            <!-- Modal -->
                            <div class="modal fade" id="configurationModalDlg" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                                <div class="modal-dialog">
                                    <div class="modal-content">
                                        <div class="modal-header">
                                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                                            <h4 class="modal-title" id="configurationModalLabel"></h4>
                                        </div>
                                        <div class="modal-body" id="configurationModalBody"></div>
                                        <div class="modal-footer">
                                            <button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button>
                                            <button type="button" class="btn btn-primary" id="configurationAcceptModalDlg">Aceptar</button>
                                        </div>
                                    </div>
                                    <!-- /.modal-content -->
                                </div>
                                <!-- /.modal-dialog -->
                            </div>
                            <!-- /.modal -->
                            
                            <div class="table-responsive">
                                <table class="table table-striped table-bordered table-hover" id="dataTables-configurations">
                                    <thead>
                                        <tr>
                                            <th></th>
                                            <th>Nombre</th>
                                            <th>Orden</th>
                                        </tr>
                                    </thead>
                                    <tbody></body>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- /.row -->
    
</div>

<!-- /#page-wrapper -->